import 'package:flutter/material.dart';
import 'package:flutter_aggregate/model/onlineOrder/components/online_search_box.dart';

import 'online_home_category_list.dart';
import 'online_home_discount_card.dart';
import 'online_home_item_list.dart';

class OnlineHomeBody extends StatelessWidget {
  const OnlineHomeBody({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Column(
      crossAxisAlignment: CrossAxisAlignment.start,
      children: [
        OnlineSearchBox(
          onChange: (value) {}, 
        ),
        const OnlineHomeCategoryList(),
        const OnlineHomeItemList(),
        const OnlineHomeDiscountCard()
      ],
    );
  }
}